﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/AdminMasterPage.master" AutoEventWireup="true" CodeFile="User.aspx.cs" Inherits="Admin_AccountUser" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">    
    <div align="center">
    <div align="center">        
        <div style="font-size:x-large;text-align:left"><asp:Label ID="lbAccount" runat="server" Font-Size="18pt"></asp:Label></div>
    </div>
    <asp:GridView ID="gvUsers" runat="server" AutoGenerateColumns="False" 
            BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" 
        DataKeyNames="Id" Width="98%"
        onrowcancelingedit="gvUsers_RowCancelingEdit" 
        onrowdeleting="gvUsers_RowDeleting" onrowediting="gvUsers_RowEditing" 
        onrowupdating="gvUsers_RowUpdating">
        <Columns>
            <asp:BoundField DataField="Id" HeaderText="ID" InsertVisible="False" 
                ReadOnly="True" SortExpression="Id" ItemStyle-HorizontalAlign="Center" >
                <ItemStyle HorizontalAlign="Center"></ItemStyle>
            </asp:BoundField>
            <asp:BoundField DataField="UserName" HeaderText="Username" ReadOnly="true" 
                SortExpression="UserName" />
            <asp:BoundField HeaderText="Password" />
            <asp:BoundField DataField="FirstName" HeaderText="First Name" 
                SortExpression="FirstName" />
            <asp:BoundField DataField="LastName" HeaderText="Last Name" 
                SortExpression="LastName" />
            <asp:CheckBoxField DataField="IsActived" HeaderText="Active" 
                SortExpression="IsActived" ItemStyle-HorizontalAlign="Center" >
                <ItemStyle HorizontalAlign="Center"></ItemStyle>
            </asp:CheckBoxField>
            <asp:CheckBoxField DataField="IsAdmin" HeaderText="Admin" 
                SortExpression="IsAdmin" ItemStyle-HorizontalAlign="Center" >
                <ItemStyle HorizontalAlign="Center"></ItemStyle>
            </asp:CheckBoxField>
            <asp:CommandField ShowEditButton="True" ItemStyle-HorizontalAlign="Center" >
            <ItemStyle HorizontalAlign="Center"></ItemStyle>
            </asp:CommandField>
            <asp:CommandField ShowDeleteButton="True" ItemStyle-HorizontalAlign="Center" >
            <ItemStyle HorizontalAlign="Center"></ItemStyle>
            </asp:CommandField>
        </Columns>
        <FooterStyle BackColor="White" ForeColor="#000066" />
        <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" Height="30" />
        <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
        <RowStyle ForeColor="#000066" />
        <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
        <SortedAscendingCellStyle BackColor="#F1F1F1" />
        <SortedAscendingHeaderStyle BackColor="#007DBB" />
        <SortedDescendingCellStyle BackColor="#CAC9C9" />
        <SortedDescendingHeaderStyle BackColor="#00547E" />
    </asp:GridView>
</div>
    
</asp:Content>

